home *** CD-ROM | disk | FTP | other *** search
/ 3D Game Programming All in One / 3D Game Programming All in One Disc.iso / 3D2E / RESOURCES / CH6 / EMAGA6 / control / client / profiles.cs < prev   
Text File  |  2003-10-24  |  3KB  |  120 lines

  1. //============================================================================
  2. // control/client/profiles.cs
  3. //
  4. // Copyright (c) 2003 Kenneth C. Finney
  5. //============================================================================
  6.  
  7. new GuiControlProfile (GuiDefaultProfile)
  8. {
  9.    tab = false;
  10.    canKeyFocus = false;
  11.    hasBitmapArray = false;
  12.    mouseOverSelected = false;
  13.  
  14.    // fill color
  15.    opaque = false;
  16.    fillColor = "201 182 153";
  17.    fillColorHL = "221 202 173";
  18.    fillColorNA = "221 202 173";
  19.  
  20.    // border color
  21.    border = false;
  22.    borderColor   = "0 0 0";
  23.    borderColorHL = "179 134 94";
  24.    borderColorNA = "126 79 37";
  25.  
  26.    // font
  27.    fontType = "Arial";
  28.    fontSize = 14;
  29.  
  30.    fontColor = "0 0 0";
  31.    fontColorHL = "32 100 100";
  32.    fontColorNA = "0 0 0";
  33.    fontColorSEL= "200 200 200";
  34.  
  35.    // bitmap information
  36.    bitmap = "./interfaces/emaga_windowwidgets";
  37.    bitmapBase = "";
  38.    textOffset = "0 0";
  39.  
  40.    // used by guiTextControl
  41.    modal = true;
  42.    justify = "left";
  43.    autoSizeWidth = false;
  44.    autoSizeHeight = false;
  45.    returnTab = false;
  46.    numbersOnly = false;
  47.    cursorColor = "0 0 0 255";
  48.  
  49.    // sounds
  50.    soundButtonDown = "";
  51.    soundButtonOver = "";
  52. };
  53.  
  54. new GuiControlProfile (GuiWindowProfile)
  55. {
  56.    opaque = true;
  57.    border = 2;
  58.    fillColor = "151 152 250";
  59.    fillColorHL = "151 152 173";
  60.    fillColorNA = "151 152 173";
  61.    fontColor = "255 255 255";
  62.    fontColorHL = "255 255 255";
  63.    bitmap = "./interfaces/emaga_windowwidgets";
  64.    textOffset = "6 6";
  65.    hasBitmapArray = true;
  66.    justify = "center";
  67. };
  68.  
  69. new GuiControlProfile (GuiScrollProfile)
  70. {
  71.    opaque = true;
  72.    fillColor = "255 255 255";
  73.    border = 3;
  74.    borderThickness = 2;
  75.    borderColor = "0 0 0";
  76.    bitmap = "./interfaces/emaga_scrollwidgets";
  77.    hasBitmapArray = true;
  78. };
  79.  
  80. new GuiControlProfile (GuiCheckBoxProfile)
  81. {
  82.    opaque = false;
  83.    fillColor = "232 232 232";
  84.    border = false;
  85.    borderColor = "0 0 0";
  86.    fontSize = 14;
  87.    fontColor = "0 0 0";
  88.    fontColorHL = "32 100 100";
  89.    fixedExtent = true;
  90.    justify = "left";
  91.    bitmap = "./interfaces/emaga_chkboxwidgets";
  92.    hasBitmapArray = true;
  93. };
  94.  
  95. new GuiControlProfile (GuiButtonProfile)
  96. {
  97.    opaque = false;
  98.    fillColor = ($platform $= "macos") ? "11 11 211" : "0 0 220";
  99.    fillColorHL = ($platform $= "macos") ? "144 44 244" : "20 20 250";
  100.    fillColorNA = ($platform $= "macos") ? "144 44 244" : "20 20 250";
  101.    border = true;
  102.    fontColor = "250 230 0";
  103.    fontColorHL = "0 200 100";
  104.    fixedExtent = true;
  105.    justify = "center";
  106.     canKeyFocus = false;
  107. };
  108.  
  109.  
  110. new GuiControlProfile (GuiRadioProfile)
  111. {
  112.    fontSize = 14;
  113.    fillColor = "232 232 232";
  114.    fontColorHL = "32 100 100";
  115.    fixedExtent = true;
  116.    bitmap = "./interfaces/emaga_radiowidgets";
  117.    hasBitmapArray = true;
  118. };
  119.  
  120.